<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('sms')}">短信发送列表</a></li>
			<li class="active"><a href="{:url('smsadd')}">发送短信</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('addsms')}">
			<div class="form-group">
				<label for="input-templid" class="col-sm-2 control-label"><span class="form-required">*</span>模板id</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-templid" required name="templid">
				</div>
			</div>
			<div class="form-group">
				<label for="select-models" class="col-sm-2 control-label"><span class="form-required">*</span>发送对象</label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" multiple required id="select-models" name="models[]">
						<volist name="models" id="vo">
							<option value="{$key}">{$vo}</option>
						</volist>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label for="textarea-remark" class="col-sm-2 control-label">备注</label>
				<div class="col-md-6 col-sm-10">
					<textarea name="remark" class="form-control" id="textarea-remark" rows="3"></textarea>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
					<a class="btn btn-default" href="{:url('sms')}">返回</a>
				</div>
			</div>
		</form>
	</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>